<?php

namespace app\admin\controller;

use think\facade\Request;

// 抖音类
class Kwai extends Base
{
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 退款回调。
     */
    public function refundCallback()
    {
        $params = Request::param();
        $log = fopen('./kwai_refund_callback.txt', 'a+');
        fwrite($log, json_encode($params).PHP_EOL);
        fclose($log);
    }
}